package studychinese.config;

/**
 * Created by zf on 2017/12/26.
 */

public class AppUrl {
  //  private static final String appTestUrl = "http://www.chinlab.com/";//测试
    private static final String appTestUrl = "http://192.168.1.107:8080/";//测试
    private static final String baseLoadUrl = "http://www.yhapp.cqmjk.com/";//线上
    private static final String API = "userApi/";
    
    public static boolean isDebug=true;
    public static String getBaseUrl(){
        return isDebug? appTestUrl:baseLoadUrl;
    }
    public  static String getAppUrl(String url){
        return getBaseUrl()+API+url;
    }
}
